<html>
<head>
	<title>My Form</title>
	<link href="<?php echo  base_url();?>public/css/bootstrap.min.css" rel="stylesheet">
	<link href="<?php echo  base_url();?>public/css/bootstrap-theme.min.css" rel="stylesheet">
	<link href="<?php echo  base_url();?>public/css/style.css" rel="stylesheet">
</head>
<body>
	<div class="container">
	    <div class="row">
  			<div class="col-md-6 col-md-offset-3">  			
	  			<div class="panel panel-default" style="margin-top:150px;">
		    		<div class="panel-heading">请您登录</div>
		   			<div class="panel-body">
		   				<!--<div class="alert-danger"><?php echo validation_errors();?></div>-->
		  				<form class="form-horizontal" action="" method="POST">
							<div class="form-group">
							    <label class="col-sm-2 control-label">用户名</label>
							    <div class="col-sm-10">
							      	<input type="text" class="form-control" name="username" value="<?php echo set_value('username')?>">
									<?php echo form_error('username');?>
							    </div>
							</div>
							<div class="form-group">
							    <label class="col-sm-2 control-label">密码</label>
							    <div class="col-sm-10">
								    <input type="password" class="form-control"  name="password" value="<?php echo set_value('password')?>">
								    <?php echo form_error('password');?>
							    </div>
							</div>
			      			<button type="submit" class="form-control btn btn-success btn-block">submit</button>
						</form>
	  				</div>
	  			</div>
	  		</div>		
		</div>
	</div>	
</body>
</html>